<?php namespace AlexBurcow\Fayna\Updates;

use Schema;
use October\Rain\Database\Updates\Migration;

class BuilderTableCreateAlexburcowFaynaOthevy extends Migration
{
    public function up()
    {
        Schema::create('alexburcow_fayna_othevy', function($table)
        {
            $table->engine = 'InnoDB';
            $table->integer('id');
            $table->text('imi');
            $table->text('kodevuislovo');
            $table->text('othuv');
            $table->text('kartinka');
            $table->primary(['id']);
        });
    }
    
    public function down()
    {
        Schema::dropIfExists('alexburcow_fayna_othevy');
    }
}
